package fpzhan.plane.program.test.school;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

public class ClassInfos {

    private AClass aClass;

    private List<Teacher> teachers;

    private List<Student> students;

    private List<Student> men;

    private List<Student> women;

    public ClassInfos() {
    }

    public AClass getaClass() {
        return aClass;
    }

    public List<Teacher> getTeachers() {
        return teachers;
    }

    public List<Student> getStudents() {
        return students;
    }

    public List<Student> getMen() {
        return men;
    }

    public List<Student> getWomen() {
        return women;
    }

    public void setaClass(AClass aClass) {
        this.aClass = aClass;
    }

    public void setTeachers(List<Teacher> teachers) {
        this.teachers = teachers;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public void setMen(List<Student> men) {
        this.men = men;
    }

    public void setWomen(List<Student> women) {
        this.women = women;
    }

    @Override
    public String toString() {
        return  JSONObject.toJSONString(this) ;
    }
}
